package Work0513;

public class InstrumentTest {

	public static void main(String[] args) {
		Piano a = new Piano("钢琴");
		Violin b = new Violin("小提琴");
		Autoharp c = new Autoharp("古筝");
		TestPlay test = new TestPlay("熊大");
		test.play(a);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>");
		test.play(b);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>");
		test.play(c);

	}

}
